home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / tcl / tclm_1_0.lha / tclm-1.0 / DOC / Makefile < prev    next >
Makefile  |  1993-08-16  |  2KB  |  72 lines

  1. #
  2. # NROFF is the command to format the man pages
  3. #
  4. NROFF = groff -mdoc -Tascii
  5.  
  6. #
  7. # MANDIR is the directory when the man pages go
  8. #
  9. MANDIR = /usr/local/man
  10.  
  11. #
  12. # MANSUB is the subdirectory for man pages
  13. #
  14. # MANSUB = man
  15. MANSUB = cat
  16.  
  17. #
  18. # MANEXT1 is the extension for man section 1 pages
  19. #
  20. MANEXT1 = 1
  21.  
  22. #
  23. # MANEXT3 is the extension for man section 3 pages
  24. #
  25. MANEXT3 = 3
  26.  
  27. #
  28. # MANOWN is the owner of the man pages
  29. #
  30. MANOWN = bin
  31.  
  32. #
  33. # MANGRP is the group of the man pages
  34. #
  35. MANGRP = bin
  36.  
  37. #
  38. # INSTALL is the program to install the man pagess
  39. #
  40. INSTALL = install -c -o $(MANOWN) -g $(MANGRP) -m 444
  41.  
  42. MAN1 = infom.1 m1to0.1 minfo.1 mplay.1 mrecord.1 mseq.1 tclm.1
  43. MAN3 = midiconfig.3 midifixtovar.3 midifree.3 midiget.3 midimake.3 \
  44.        midimerge.3 midiplay.3 midiplayable.3 midiput.3 midiread.3 \
  45.        midirecord.3 midirewind.3 midistop.3 miditiming.3 \
  46.        midivartofix.3 midiwrite.3 tclmversion.3 tclm_interface.3
  47.  
  48. MAN10 = infom.0 m1to0.0 minfo.0 mplay.0 mrecord.0 mseq.0 tclm.0
  49. MAN30 = midiconfig.0 midifixtovar.0 midifree.0 midiget.0 midimake.0 \
  50.        midimerge.0 midiplay.0 midiplayable.0 midiput.0 midiread.0 \
  51.        midirecord.0 midirewind.0 midistop.0 miditiming.0 \
  52.        midivartofix.0 midiwrite.0 tclmversion.0 tclm_interface.0
  53.  
  54. .SUFFIXES: .0 .1 .3
  55.  
  56. install-man-cooked: $(MAN10) $(MAN30)
  57.     $(INSTALL) $(MAN10) $(MANDIR)/$(MANSUB)$(MANEXT1)
  58.     $(INSTALL) $(MAN30) $(MANDIR)/$(MANSUB)$(MANEXT3)
  59.  
  60. install-man-raw:
  61.     $(INSTALL) $(MAN1) $(MANDIR)/$(MANSUB)$(MANEXT1)
  62.     $(INSTALL) $(MAN3) $(MANDIR)/$(MANSUB)$(MANEXT3)
  63.  
  64. clean:
  65.     rm -f $(MAN10) $(MAN30)
  66.  
  67. .1.0:
  68.     $(NROFF) $< > $@
  69.  
  70. .3.0:
  71.     $(NROFF) $< > $@
  72.